﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AddRolePermission.aspx.cs"
    Inherits="Zyg.SSO.Web.Admin.Role.AddRolePermission" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>修改角色权限 - SSO 后台管理系统</title>
    <style type="text/css">
        fieldset
        {
            padding: 10px 10px 10px 20px;
        }
    </style>
</head>
<body class="dbody">
    <form id="mainForm" runat="server">
    <div id="ui">
        <br />
        <fieldset>
            <legend>
                <asp:Label ID="RoleNameLbl" runat="server"></asp:Label>对应的权限</legend>
            <br />
            <table cellpadding="5" cellspacing="2" border="0">
                <tr>
                    <td>
                        <asp:CheckBox ID="RolePermissionCB" runat="server" Text="角色管理" />
                    </td>
                    <td>
                        <asp:CheckBox ID="AdminPermissionCB" runat="server" Text="管理员管理" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:CheckBox ID="AppPermissionCB" runat="server" Text="应用系统管理" />
                    </td>
                    <td>
                        <asp:CheckBox ID="UserPermissionCB" runat="server" Text="用户管理" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:CheckBox ID="LogManageCB" runat="server" Text="日志管理" />
                    </td>
                    <td>
                        <asp:CheckBox ID="SettingManageCB" runat="server" Text="系统配置" />
                    </td>
                </tr>
            </table>
            <p>
                <asp:Button ID="SaveBtn" CssClass="button" runat="server" Text="修改" OnClick="Save_OnClick" />
                <input id="BackBtn" type="button" value="返回" class="button" />
            </p>
        </fieldset>
    </div>
    <asp:HiddenField ID="RoleIDHF" runat="server" />
    </form>

    <script type="text/javascript" src="../../script/jquery/jquery-1.2.6.min.js" charset="utf-8"></script>

    <script type="text/javascript" src="../../script/jquery/jquery.queryString.js" charset="utf-8"></script>

    <script type="text/javascript" src="../../script/zyg.sso.js" charset="utf-8"></script>

    <script type="text/javascript" src="../../script/zyg.sso.role.js" charset="utf-8"></script>

    <script type="text/javascript">

        $("#BackBtn").click(function() {
            window.location.href = 'ModifyRole.aspx?id=' + $.queryString({ id: 'RoleId' });
        });
        
    </script>

</body>
</html>
